package com.kb.design.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class ProjectDataChartVO {
    /**
     * 项目分析
     */
    private List<ProjectCount> projectCounts;
    /**
     * 空闲人数
     */
    private Integer idleCount;
    /**
     * 空闲人
     */
    private String idlePerson;

    /**
     * 达成率
     */
    private List<AchievementRate> achievementRateList;

    @Data
    public static class ProjectCount {
        private Integer status;
        private BigDecimal pintCount;
        private Long projectCount;
        private BigDecimal perCapitaPin;
    }
    @Data
    public static class AchievementRate {
        /**
         * 部门名称
         */
        private String departmentName;
        /**
         * 人数
         */
        private Integer personNumber ;
        /**
         * 达成率
         */
        private BigDecimal achievementRate = BigDecimal.ZERO;

        private String color ;
    }
}
